package echo;


/**
 * Write a description of interface INumeroComponent here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */

public interface INumeroComplexoComponent
{
    public void zerar();
    
    public void entrarParteReal(Integer base, Integer n);    
    public void somarParteReal(Integer base, INumeroComplexoComponent numComposite);    
    
    public void entrarParteImaginaria(Integer base, Integer n);   
    public void somarParteImaginaria(Integer base, INumeroComplexoComponent numComposite);    
 
    public Integer getParteReal(); //!!!como remover isso //!!!usar  double dispatch (visitor)
    public Integer getParteImaginaria();
    
    public String toString();
    public String toBinaryString();    
    public String toHexString();    
}


